//
//  SZLAccountHelper.h
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/7/29.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SZLAccountHelper : NSObject

@property (nonatomic,strong) NSString *token;
@property (nonatomic,assign) NSInteger roleId;
@property (nonatomic,strong) NSString *HXpwd;
@property (nonatomic,strong) NSString *mobilePhone;
@property (nonatomic,strong) NSString *name;//从用户个人信息获取的
/**
 是否登录
 */
+ (BOOL)isAlreadyLogin;
/**
 导入用户信息
 */
+ (void)loadAlreadyInfo;
/**
 清除登录信息
 */
+ (void)clearAlreadyInfo;
/**
 是否弹出登录
 */
+ (BOOL)shouldLogin;

+ (instancetype)shareInstance;
+ (void)updateUserWithLogin:(NSDictionary *)json needSave:(BOOL)needSave;



@end
